package main.builderpattern;



/**
 * Created by lantianixang1 on 2018/9/22.
 **/
public class Test {
    public static void main(String[] args) {
        Result result = testPattern();
        System.out.println(result.toString());
    }

    public static Result testPattern(){
        return Result.builder().code(1).msg("test build pattern").success(true).build();
    }
}
